STEP 10: Let's use the variable star_color to control the color of our stars!

Remember, variable names do NOT have quotes around them. The variable name is star_color. The variable's value is "aqua".

  • Replace the color parameter of each star with the variable star_color.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)